<?php

	// Theme Helper
	
	function theme_static_file($file)
	{
		$CI =& get_instance();
		
		$base_url 	= $CI->config->item('base_url');
		$static_dir	= $CI->config->item('blaze_static_dir');
		$theme		= $CI->layout->get_theme();
		
		return $base_url.$static_dir.'/themes/'.$theme.'/'.$file;
	}